PaymentPlugins\WooCommerce\PPCP\Payments\PaymentGateways A

Total Complexity 55
Dependencies 17
Dependents 14
Total lines 259
Lines of code 170
Logical lines of code 98
Comment lines 40
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
get_available_payment_gateways()
A
54 10 21
register_payment_methods()
A
50 8 29
load_scripts()
A
54 8 20
add_minicart_scripts()
S
59 8 14
add_scripts()
S
57 4 15
initialize_gateways()
S
71 2 6
get_minicart_payment_gateways()
S
72 2 6
__construct()
S
59 1 13
get_payment_method_registry()
S
82 1 3
get_general_asset_data()
S
65 1 9
add_product_scripts()
S
77 1 4
filter_by_available()
S
70 1 6
add_admin_script_dependencies()
S
79 1 3
set_page_context()
S
81 1 3
get_express_payment_gateways()
S
81 1 3
get_product_payment_gateways()
S
80 1 3
get_cart_payment_gateways()
S
81 1 3
get_gateway()
S
80 1 3
has_gateway()
S
80 1 3
get_api_settings()
S
82 1 3